import $http from '@/assets/js/http'

//查询城市文章列表
export function getFenzhanArticleList(cityId) {
    return $http.get('/manage/fenzhan/article/list', {
        params: { cityId: cityId }
    });
}
//查询城市文章详情
export function getFenzhanArticleDetail(id) {
    return $http.get('/manage/fenzhan/article/detail', {
        params: { articleId: id }
    });
}
//新增 编辑
export function postFenzhanArticleSave(para) {
    return $http.post('/manage/fenzhan/article/save', {
        id: para.id,
        cityId: para.cityId,
        title: para.title,
        headImg: para.headImg,
        content: para.content
    });
}